package cn.edu.xhu.library_management.book.client;

import cn.edu.xhu.library_management.book.entity.dto.BookRackLocationDTO;
import cn.edu.xhu.library_management.common.entity.R;
import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @Author: MMJ
 * @Date: 2023 - 03 - 17
 * @Description: 区域服务客户端
 */
@FeignClient("lmArea")
public interface AreaClient {
    @GetMapping("/lm_area/bookRack/{id}")
    public BookRackLocationDTO findBookRackLocationById(@PathVariable("id") Integer id);
}
